package com.sun.service;

import com.sun.pojo.File;
import java.io.IOException;
import java.util.List;

/**
 * @author lk
 */
public interface FtpService {

    String upload(String orginName) throws IOException;

    List<File> findAll();

    String downloadByName(String name);
}
